package com.dxysun.design.mediator;

public abstract class Mediator
{
	protected ConcreteColleagueA concreteColleagueA;
	protected ConcreteColleagueB concreteColleagueB;

	public void setConcreteColleagueA(ConcreteColleagueA concreteColleagueA)
	{
		this.concreteColleagueA = concreteColleagueA;
	}

	public void setConcreteColleagueB(ConcreteColleagueB concreteColleagueB)
	{
		this.concreteColleagueB = concreteColleagueB;
	}

	abstract void transferToA();
	abstract void transferToB();

}
